<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org"  xmlns:layout="http://ww
 w.ultraq.net.nz/web/thymeleaf/layout">
<head >
    <meta charset="UTF-8">
    <title >页面布局主页面</title>


    <style>

        .left{
            background-color: #020261;
            width: 200px;
            height: 100vh;
            float: left;
            color: white;
        }

        .right{
            float: left;
        }

    </style>
</head>


<body>

<div >


    <div class="left" th:insert="common/left :: left"> </div>
    <div class="right">
        <div  th:insert="common/top :: top">top</div>
        <div  layout:fragment="main" >main</div>
    </div>

</div>
</body>
</html>